﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Habi.Solver.Models
{
    public class BaseModel
    {
        public long Id { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        [Display(AutoGenerateField = false)]
        public string Creator { get; set; }
        /// <summary>
        /// 创建人User.Id
        /// </summary>
        [Display(AutoGenerateField = false)]
        public long CreatorId { get; set; }
        [Display(AutoGenerateField = false)]
        [DisplayFormat(DataFormatString = "yy/MM/dd HH:mm")]
        public DateTime? CreateTime { get; set; }
        [Display(AutoGenerateField = false)]
        [DisplayFormat(DataFormatString = "yy/MM/dd HH:mm")]
        public DateTime? LastUpdateTime { get; set; }
    }
}
